import React from 'react';
import { Route } from 'react-router-dom';

import Home from '../containers/Home';

class App extends React.Component {

    componentDidMount() {
        this.initData();
    }
    render() {
        return (
            <div className="app">
                <Route path="/" component={Home} />
                    {this.props.children}
            </div>
        )
    }
    initData = () => {

    }
}
export default App;